<?php

class User_Form_ActivateUser extends Pldkp_Form 
{ 
    public function init()
    { 
        $this->setName('activate_user');

        $key = new Zend_Form_Element_Text('key');
        $key->setRequired(true)
            ->setLabel('Activation Key')
            ->addValidator('NotEmpty');
              
        $submit = new Zend_Form_Element_Submit('submit');
        $submit->setLabel('Activate');
        
        $this->addElements(array($key, $submit));
    }
}